package com.geping.etl.common.util;

import lombok.Data;

@Data
public class BusinessResult {
    private Integer code;

    private String desc;

    public BusinessResult(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public BusinessResult() {
    }

    public BusinessResult(BusinessResponse businessResponse) {
        this.code = businessResponse.getCode();
        this.desc = businessResponse.getDesc();
    }

}
